﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Video.ascx.cs" Inherits="UserControl_Video" %>
<%@ Import Namespace="CommonTagTime" %>
<table class="vItem">
    <tr>
        <td>
            <div class="bvImage">
                <div class="vImage">
                    <div class="vlThumb" onclick="ViewVideo(<%=objVideo.VideoID%>);" style="background: url(<%=GetImageUrl()%>) no-repeat scroll center top transparent;">
                    </div>
                </div>
            </div>
            <div class="vContent">
                <div>
                    <a href="javascript:void(0);" class="nLink" onclick="ViewVideo(<%=objVideo.VideoID%>);">
                        <%=Server.HtmlEncode(objVideo.Name)%></a>
                </div>
                <div class="item-time">
                    <%=clsConvert.String(objVideo.CreatedDate) %></div>
                <div class="VideoDescript">
                    <%= Server.HtmlEncode(objVideo.Description) %>
                </div>
            </div>
        </td>
    </tr>
</table>
<div id="divPopUpVideo_<%=objVideo.VideoID%>" style="display: none; background-color: rgb(246, 246, 246);
    width: 810px; height:522px;">
    <table cellspacing="0" cellpadding="5" border="0" style="margin-left: auto; margin-right: auto;">
        <tbody>
           
            <tr valign="top">
                <td align="center" id="tdValue_<%=objVideo.VideoID%>" height="480px" width="800px">
                   <%-- <asp:Literal ID="ltrVideoPopup" runat="server" Text=""></asp:Literal>--%>
                   <%=src %>
                   
                </td>
            </tr>
            <tr>
                <td style="margin-top: 0px; padding-bottom: 14px;" align="center" colspan="2">
                    <input type="hidden"  id="hidValue_<%=objVideo.VideoID%>" value="<%=src %>"/>
                    <a class="linkClosePopUp" id="A1" onclick="ClosePopupVideo(<%=objVideo.VideoID%>)" href="javascript:void(0);">
                        Close Window</a>
                </td>
            </tr>
        </tbody>
    </table>
</div>
